<#import "/spring.ftl" as spring/>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title><@spring.message "admin.main.title"/></title>
	<!-- core -->
	<link rel="stylesheet" type="text/css" href="${res}/js/ext/resources/css/ext-all.css" />
	<script type="text/javascript" src="${res}/js/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="${res}/js/ext/ext-all.js"></script>
	<script type="text/javascript" src="${res}/js/ext/ext-lang-zh_CN.js"></script>
	<!--  global -->
	<script type="text/javascript" src="${base}/js/dynamic"></script>
	<!-- ux -->
	<script type="text/javascript" src="${res}/js/ext/ux/Ext.ux.TabCloseMenu.js"></script>
	<script type="text/javascript">
		var _login_usercode = '${Session.SPRING_SECURITY_CONTEXT.authentication.principal.userCode}';
		var _login_userName = '${Session.SPRING_SECURITY_CONTEXT.authentication.principal.username2}';
		var _login_companyCode = '${Session.SPRING_SECURITY_CONTEXT.authentication.principal["companyCode"]}';
		var _login_companyName = '${Session.SPRING_SECURITY_CONTEXT.authentication.principal["companyName"]}';
	</script>
	<!-- Classes -->
	<script type="text/javascript" src="${res}/js/ui/namespace.js"></script>
	<!-- main -->
	<script type="text/javascript" src="${res}/js/main.js"></script>
</head>
<body style="background-color:transparent">
    <div id="props-panel" class="x-hide-display" style="width:200px;height:200px;overflow:hidden;"> 
    </div> 
    <div id="north" class="x-hide-display" style="height:100%;padding:8px;background-image:url('${res}/images/img_top.jpg');background-repeat:no-repeat;"> 
        <p align="right"><a href="${base}/j_spring_security_logout">退出</a>&nbsp;&nbsp;&nbsp;&nbsp;</p> 
    </div>
    <div id="south" class="x-hide-display"> 
        <p>&nbsp;&nbsp;PICC欢迎您，<font color="red">${Session.SPRING_SECURITY_CONTEXT.authentication.principal.userCode}</font></p> 
    </div> 
</body>
</html>